package com.foreknow.entity;

import java.io.Serializable;

public class Herbaltempdetailed implements Serializable {
    /**
     * ID主键
     *
     * @mbggenerated
     */
    private Integer id;

    /**
     * 草药模板ID
     *
     * @mbggenerated
     */
    private Integer herbaltempid;

    /**
     * 药品ID
     *
     * @mbggenerated
     */
    private Integer herbalid;

    /**
     * 用量
     *
     * @mbggenerated
     */
    private String dosage;

    /**
     * 药品单位
     *
     * @mbggenerated
     */
    private String unit;

    /**
     * 脚注
     *
     * @mbggenerated
     */
    private String footnote;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getHerbaltempid() {
        return herbaltempid;
    }

    public void setHerbaltempid(Integer herbaltempid) {
        this.herbaltempid = herbaltempid;
    }

    public Integer getHerbalid() {
        return herbalid;
    }

    public void setHerbalid(Integer herbalid) {
        this.herbalid = herbalid;
    }

    public String getDosage() {
        return dosage;
    }

    public void setDosage(String dosage) {
        this.dosage = dosage;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getFootnote() {
        return footnote;
    }

    public void setFootnote(String footnote) {
        this.footnote = footnote;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", herbaltempid=").append(herbaltempid);
        sb.append(", herbalid=").append(herbalid);
        sb.append(", dosage=").append(dosage);
        sb.append(", unit=").append(unit);
        sb.append(", footnote=").append(footnote);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}